/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.unesp.demac.bcc.soo.dao;

import br.unesp.demac.bcc.soo.bean.Aluguel;
import br.unesp.demac.bcc.soo.bean.Dvd;
import java.util.ArrayList;

/**
 *
 * @author flavioam
 */
public interface AluguelDAO {

    boolean salvaAluguel(Aluguel al) throws Exception;
    
    public ArrayList<Aluguel> selecionaAlugueisAtivosByDvd(Dvd d) throws Exception;
    
    public boolean efetuaDevolucao (Dvd d) throws Exception;
    
}
